PhpOffice\PhpSpreadsheet\Worksheet\Worksheet D

Total Complexity 330
Dependencies 37
Dependents 59
Total lines 3,020
Lines of code 1,133
Logical lines of code 642
Comment lines 1,315
Methods 146
Properties 42

Methods 146

Method Rating Maintainability Complexity Lines of code
calculateColumnWidths()
B
41 16 52
setTitle()
A
45 14 41
rangeToArray()
A
44 12 43
getWorksheetAndCoordinate()
A
47 11 35
setCodeName()
A
49 11 32
__clone()
A
50 11 28
validateNamedRange()
A
53 8 24
fromArray()
S
53 7 23
createNewCell()
S
53 7 21
duplicateConditionalStyle()
S
54 7 19
shrinkRangeToFit()
S
53 6 24
duplicateStyle()
S
53 6 21
checkSheetCodeName()
S
56 6 17
mergeCells()
S
54 5 20
removeRow()
S
55 5 20
getComment()
S
57 5 16
freezePane()
S
60 5 12
removeColumn()
S
54 4 21
garbageCollect()
S
55 4 19
setBreak()
S
59 4 15
getChartByIndex()
S
61 4 13
getChartByName()
S
62 4 12
setAutoFilter()
S
66 4 8
extractSheetTitle()
S
64 4 9
rebindParent()
S
61 3 13
unmergeCells()
S
60 3 13
getColumnDimension()
S
63 3 11
getStyleByColumnAndRow()
S
67 3 7
setSelectedCells()
S
58 2 15
getCoordinates()
S
66 3 9
checkSheetTitle()
S
64 3 9
getHashCode()
S
67 3 7
__construct()
S
56 1 17
getConditionalStyles()
S
69 2 7
removeColumnByIndex()
S
70 2 6
getTabColor()
S
71 2 6
disconnectCells()
S
70 2 7
refreshColumnDimensions()
S
66 2 9
getRowDimension()
S
68 2 7
refreshRowDimensions()
S
66 2 9
setDataValidation()
S
67 2 8
getCellByColumnAndRow()
S
65 2 9
getCellOrNull()
S
72 2 6
addChart()
S
65 2 9
getCell()
S
65 2 9
protectCells()
S
66 2 8
getDataValidation()
S
69 2 7
unprotectCells()
S
65 2 9
getHighestColumn()
S
71 2 6
insertNewRowBefore()
S
64 2 9
setHyperlink()
S
67 2 8
insertNewColumnBefore()
S
64 2 9
getHyperlink()
S
69 2 7
getHighestRow()
S
71 2 6
insertNewColumnBeforeByIndex()
S
70 2 6
getChartNames()
S
69 2 7
getCodeName()
S
82 1 3
getShowGridlines()
S
82 1 3
isTabColorSet()
S
80 1 3
setShowGridlines()
S
77 1 4
getPrintGridlines()
S
82 1 3
resetTabColor()
S
77 1 4
copy()
S
81 1 3
getTopLeftCell()
S
82 1 3
setPrintGridlines()
S
77 1 4
getShowRowColHeaders()
S
82 1 3
getDataValidationCollection()
S
82 1 3
getColumnIterator()
S
79 1 3
dataValidationExists()
S
79 1 3
getSelectedCells()
S
82 1 3
toArray()
S
69 1 6
namedRangeToArray()
S
66 1 7
hyperlinkExists()
S
79 1 3
setRightToLeft()
S
77 1 4
getRightToLeft()
S
82 1 3
unfreezePane()
S
80 1 3
getHyperlinkCollection()
S
82 1 3
setSelectedCell()
S
80 1 3
getActiveCell()
S
82 1 3
setShowRowColHeaders()
S
77 1 4
getCommentByColumnAndRow()
S
79 1 3
setComments()
S
77 1 4
getComments()
S
82 1 3
setShowSummaryRight()
S
77 1 4
getRowIterator()
S
79 1 3
getShowSummaryRight()
S
82 1 3
setShowSummaryBelow()
S
77 1 4
getShowSummaryBelow()
S
82 1 3
setSelectedCellByColumnAndRow()
S
79 1 3
mergeCellsByColumnAndRow()
S
74 1 4
freezePaneByColumnAndRow()
S
79 1 3
getParent()
S
82 1 3
setSheetView()
S
77 1 4
getSheetView()
S
82 1 3
setHeaderFooter()
S
77 1 4
getHeaderFooter()
S
82 1 3
setPageMargins()
S
77 1 4
getPageMargins()
S
82 1 3
setPageSetup()
S
77 1 4
getPageSetup()
S
82 1 3
setSheetState()
S
77 1 4
getSheetState()
S
82 1 3
getTitle()
S
82 1 3
calculateWorksheetDataDimension()
S
79 1 3
setProtection()
S
74 1 5
calculateWorksheetDimension()
S
79 1 3
getChartCount()
S
80 1 3
getChartCollection()
S
82 1 3
getDrawingCollection()
S
82 1 3
getDefaultColumnDimension()
S
82 1 3
getColumnDimensions()
S
82 1 3
getDefaultRowDimension()
S
82 1 3
getRowDimensions()
S
82 1 3
getInvalidCharacters()
S
80 1 3
getCellCollection()
S
82 1 3
__destruct()
S
73 1 5
getProtection()
S
82 1 3
getHighestDataColumn()
S
80 1 3
getFreezePane()
S
82 1 3
setConditionalStyles()
S
75 1 4
removeAutoFilter()
S
77 1 4
setAutoFilterByColumnAndRow()
S
69 1 7
getAutoFilter()
S
82 1 3
getProtectedCells()
S
82 1 3
unprotectCellsByColumnAndRow()
S
74 1 4
protectCellsByColumnAndRow()
S
73 1 4
setMergeCells()
S
77 1 4
getMergeCells()
S
82 1 3
unmergeCellsByColumnAndRow()
S
74 1 4
getBreaks()
S
82 1 3
setBreakByColumnAndRow()
S
78 1 3
getConditionalStylesCollection()
S
82 1 3
getHighestDataRow()
S
80 1 3
removeConditionalStyles()
S
75 1 4
conditionalStylesExists()
S
79 1 3
getStyle()
S
73 1 5
getStyles()
S
82 1 3
getColumnDimensionByColumn()
S
80 1 3
cellExistsByColumnAndRow()
S
79 1 3
cellExists()
S
75 1 4
setCellValueExplicitByColumnAndRow()
S
75 1 4
setCellValueExplicit()
S
75 1 4
setCellValueByColumnAndRow()
S
75 1 4
setCellValue()
S
76 1 4
getHighestRowAndColumn()
S
81 1 3
hasCodeName()
S
80 1 3